package com.iraeta.dao.xiangmu;

import com.iraeta.entity.resulttype.XiangmuRt;
import com.iraeta.entity.xiangmu.Xiangmu;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface XiangmuDao {
    int insert(Xiangmu record);
    int updateByPrimaryKey(Xiangmu record);
    int deleteByPrimaryKey(Integer id);

    Xiangmu selectByPrimaryKey(Integer id);
    List<XiangmuRt> selectAll();
}